package com.bazhua.bazo.repository.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @Author: starmile
 * @Description:
 * @Create: 2021-02-24 22:57
 **/
public class CouponRecordDetailModel {

    private Long couponRecordId;
    private String couponName;
    private Long shopId;
    private String shopName;
    private String explain;

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public Long getCouponRecordId() {
        return couponRecordId;
    }

    public void setCouponRecordId(Long couponRecordId) {
        this.couponRecordId = couponRecordId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopArea() {
        return shopArea;
    }

    public void setShopArea(String shopArea) {
        this.shopArea = shopArea;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusDetail() {
        if (status == 1){
            this.statusDetail = "已使用";
        } else {
            this.statusDetail = "未使用";
        }
        return statusDetail;
    }


    public String getShopAdminLogo() {
        return shopAdminLogo;
    }

    public void setShopAdminLogo(String shopAdminLogo) {
        this.shopAdminLogo = shopAdminLogo;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getCouponNumber() {
        return couponNumber;
    }

    public void setCouponNumber(String couponNumber) {
        this.couponNumber = couponNumber;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getEffectiveTimeStart() {
        return effectiveTimeStart;
    }

    public void setEffectiveTimeStart(Date effectiveTimeStart) {
        this.effectiveTimeStart = effectiveTimeStart;
    }

    public Date getEffectiveTimeEnd() {
        return effectiveTimeEnd;
    }

    public void setEffectiveTimeEnd(Date effectiveTimeEnd) {
        this.effectiveTimeEnd = effectiveTimeEnd;
    }

    public String getShopRemark() {
        return shopRemark;
    }

    public void setShopRemark(String shopRemark) {
        this.shopRemark = shopRemark;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Long getShopAreaId() {
        return shopAreaId;
    }

    public void setShopAreaId(Long shopAreaId) {
        this.shopAreaId = shopAreaId;
    }

    public String getShopStreet() {
        return shopStreet;
    }

    public void setShopStreet(String shopStreet) {
        this.shopStreet = shopStreet;
    }

    public Long getShopStreetId() {
        return shopStreetId;
    }

    public void setShopStreetId(Long shopStreetId) {
        this.shopStreetId = shopStreetId;
    }

    private Long shopAreaId;
    private String shopStreet;
    private Long shopStreetId;
    private String shopArea;
    private Integer status;
    private String statusDetail;
    private String shopAdminLogo;

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    private String shopLogo;
    private String logoUrl;
    private String couponNumber;
    private String remark;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date effectiveTimeStart;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date effectiveTimeEnd;
    private String shopRemark;
    private Double latitude;
    private Double longitude;

    public String getShopAddressName() {
        return shopAddressName;
    }

    public void setShopAddressName(String shopAddressName) {
        this.shopAddressName = shopAddressName;
    }

    private String shopAddressName;

    private Boolean repetition;

    public Boolean getRepetition() {
        return repetition;
    }

    public void setRepetition(Boolean repetition) {
        this.repetition = repetition;
    }

    private String couponStatusDetail;

    public void setCouponStatusDetail(String couponStatusDetail) {
        this.couponStatusDetail = couponStatusDetail;
    }

    public String getCouponStatusDetail() {
        return couponStatusDetail;
    }
}
